{
//=========Macro generated from canvas: c2/c2
//=========  (Mon Mar 18 01:05:57 2013) by ROOT version5.32/00
   TCanvas *c2 = new TCanvas("c2", "c2",4,106,800,600);
   gStyle->SetOptFit(1);
   c2->Range(-12.31884,-72.97297,60.14493,332.4324);
   c2->SetFillColor(10);
   c2->SetBorderMode(0);
   c2->SetBorderSize(2);
   c2->SetGridx();
   c2->SetGridy();
   c2->SetTickx(1);
   c2->SetTicky(1);
   c2->SetLeftMargin(0.17);
   c2->SetRightMargin(0.14);
   c2->SetTopMargin(0.08);
   c2->SetBottomMargin(0.18);
   c2->SetFrameLineWidth(2);
   c2->SetFrameBorderMode(0);
   c2->SetFrameLineWidth(2);
   c2->SetFrameBorderMode(0);
   
   TH1F *hframe__2 = new TH1F("hframe__2","Config:2  /  #alpha = 0.18",1000,0,50);
   hframe__2->SetMinimum(0);
   hframe__2->SetMaximum(300);
   hframe__2->SetDirectory(0);
   hframe__2->SetStats(0);
   hframe__2->SetLineWidth(2);
   hframe__2->SetMarkerStyle(20);
   hframe__2->SetMarkerSize(0.5);
   hframe__2->GetXaxis()->SetTitle("N_{pe}");
   hframe__2->GetXaxis()->SetNdivisions(506);
   hframe__2->GetXaxis()->SetLabelFont(42);
   hframe__2->GetXaxis()->SetLabelOffset(0.015);
   hframe__2->GetXaxis()->SetTitleSize(0.05);
   hframe__2->GetXaxis()->SetTitleFont(42);
   hframe__2->GetYaxis()->SetTitle("NEV");
   hframe__2->GetYaxis()->SetNdivisions(506);
   hframe__2->GetYaxis()->SetLabelFont(42);
   hframe__2->GetYaxis()->SetLabelOffset(0.015);
   hframe__2->GetYaxis()->SetTitleSize(0.05);
   hframe__2->GetYaxis()->SetTitleOffset(1.1);
   hframe__2->GetYaxis()->SetTitleFont(42);
   hframe__2->GetZaxis()->SetLabelFont(42);
   hframe__2->GetZaxis()->SetLabelOffset(0.015);
   hframe__2->GetZaxis()->SetTitleSize(0.05);
   hframe__2->GetZaxis()->SetTitleOffset(1.1);
   hframe__2->GetZaxis()->SetTitleFont(42);
   hframe__2->Draw(" ");
   
   TH1F *hNpe_1keV = new TH1F("hNpe_1keV","hNpe_1keV",5000,0,5000);
   hNpe_1keV->SetBinContent(1,882);
   hNpe_1keV->SetBinContent(2,111);
   hNpe_1keV->SetBinContent(3,7);
   hNpe_1keV->SetEntries(1000);
   hNpe_1keV->SetLineColor(51);
   hNpe_1keV->SetLineWidth(2);
   hNpe_1keV->SetMarkerStyle(20);
   hNpe_1keV->SetMarkerSize(0.5);
   hNpe_1keV->GetXaxis()->SetNdivisions(506);
   hNpe_1keV->GetXaxis()->SetLabelFont(42);
   hNpe_1keV->GetXaxis()->SetLabelOffset(0.015);
   hNpe_1keV->GetXaxis()->SetTitleSize(0.05);
   hNpe_1keV->GetXaxis()->SetTitleFont(42);
   hNpe_1keV->GetYaxis()->SetNdivisions(506);
   hNpe_1keV->GetYaxis()->SetLabelFont(42);
   hNpe_1keV->GetYaxis()->SetLabelOffset(0.015);
   hNpe_1keV->GetYaxis()->SetTitleSize(0.05);
   hNpe_1keV->GetYaxis()->SetTitleOffset(1.1);
   hNpe_1keV->GetYaxis()->SetTitleFont(42);
   hNpe_1keV->GetZaxis()->SetLabelFont(42);
   hNpe_1keV->GetZaxis()->SetLabelOffset(0.015);
   hNpe_1keV->GetZaxis()->SetTitleSize(0.05);
   hNpe_1keV->GetZaxis()->SetTitleOffset(1.1);
   hNpe_1keV->GetZaxis()->SetTitleFont(42);
   hNpe_1keV->Draw("same");
   
   TH1F *hNpe_3keV = new TH1F("hNpe_3keV","hNpe_3keV",5000,0,5000);
   hNpe_3keV->SetBinContent(1,662);
   hNpe_3keV->SetBinContent(2,267);
   hNpe_3keV->SetBinContent(3,65);
   hNpe_3keV->SetBinContent(4,5);
   hNpe_3keV->SetBinContent(5,1);
   hNpe_3keV->SetEntries(1000);
   hNpe_3keV->SetLineColor(58);
   hNpe_3keV->SetLineWidth(2);
   hNpe_3keV->SetMarkerStyle(20);
   hNpe_3keV->SetMarkerSize(0.5);
   hNpe_3keV->GetXaxis()->SetNdivisions(506);
   hNpe_3keV->GetXaxis()->SetLabelFont(42);
   hNpe_3keV->GetXaxis()->SetLabelOffset(0.015);
   hNpe_3keV->GetXaxis()->SetTitleSize(0.05);
   hNpe_3keV->GetXaxis()->SetTitleFont(42);
   hNpe_3keV->GetYaxis()->SetNdivisions(506);
   hNpe_3keV->GetYaxis()->SetLabelFont(42);
   hNpe_3keV->GetYaxis()->SetLabelOffset(0.015);
   hNpe_3keV->GetYaxis()->SetTitleSize(0.05);
   hNpe_3keV->GetYaxis()->SetTitleOffset(1.1);
   hNpe_3keV->GetYaxis()->SetTitleFont(42);
   hNpe_3keV->GetZaxis()->SetLabelFont(42);
   hNpe_3keV->GetZaxis()->SetLabelOffset(0.015);
   hNpe_3keV->GetZaxis()->SetTitleSize(0.05);
   hNpe_3keV->GetZaxis()->SetTitleOffset(1.1);
   hNpe_3keV->GetZaxis()->SetTitleFont(42);
   hNpe_3keV->Draw("same");
   
   TH1F *hNpe_5keV = new TH1F("hNpe_5keV","hNpe_5keV",5000,0,5000);
   hNpe_5keV->SetBinContent(1,472);
   hNpe_5keV->SetBinContent(2,349);
   hNpe_5keV->SetBinContent(3,142);
   hNpe_5keV->SetBinContent(4,30);
   hNpe_5keV->SetBinContent(5,5);
   hNpe_5keV->SetBinContent(6,2);
   hNpe_5keV->SetEntries(1000);
   hNpe_5keV->SetLineColor(65);
   hNpe_5keV->SetLineWidth(2);
   hNpe_5keV->SetMarkerStyle(20);
   hNpe_5keV->SetMarkerSize(0.5);
   hNpe_5keV->GetXaxis()->SetNdivisions(506);
   hNpe_5keV->GetXaxis()->SetLabelFont(42);
   hNpe_5keV->GetXaxis()->SetLabelOffset(0.015);
   hNpe_5keV->GetXaxis()->SetTitleSize(0.05);
   hNpe_5keV->GetXaxis()->SetTitleFont(42);
   hNpe_5keV->GetYaxis()->SetNdivisions(506);
   hNpe_5keV->GetYaxis()->SetLabelFont(42);
   hNpe_5keV->GetYaxis()->SetLabelOffset(0.015);
   hNpe_5keV->GetYaxis()->SetTitleSize(0.05);
   hNpe_5keV->GetYaxis()->SetTitleOffset(1.1);
   hNpe_5keV->GetYaxis()->SetTitleFont(42);
   hNpe_5keV->GetZaxis()->SetLabelFont(42);
   hNpe_5keV->GetZaxis()->SetLabelOffset(0.015);
   hNpe_5keV->GetZaxis()->SetTitleSize(0.05);
   hNpe_5keV->GetZaxis()->SetTitleOffset(1.1);
   hNpe_5keV->GetZaxis()->SetTitleFont(42);
   hNpe_5keV->Draw("same");
   
   TH1F *hNpe_7keV = new TH1F("hNpe_7keV","hNpe_7keV",5000,0,5000);
   hNpe_7keV->SetBinContent(1,385);
   hNpe_7keV->SetBinContent(2,346);
   hNpe_7keV->SetBinContent(3,181);
   hNpe_7keV->SetBinContent(4,68);
   hNpe_7keV->SetBinContent(5,14);
   hNpe_7keV->SetBinContent(6,4);
   hNpe_7keV->SetBinContent(7,2);
   hNpe_7keV->SetEntries(1000);
   hNpe_7keV->SetLineColor(72);
   hNpe_7keV->SetLineWidth(2);
   hNpe_7keV->SetMarkerStyle(20);
   hNpe_7keV->SetMarkerSize(0.5);
   hNpe_7keV->GetXaxis()->SetNdivisions(506);
   hNpe_7keV->GetXaxis()->SetLabelFont(42);
   hNpe_7keV->GetXaxis()->SetLabelOffset(0.015);
   hNpe_7keV->GetXaxis()->SetTitleSize(0.05);
   hNpe_7keV->GetXaxis()->SetTitleFont(42);
   hNpe_7keV->GetYaxis()->SetNdivisions(506);
   hNpe_7keV->GetYaxis()->SetLabelFont(42);
   hNpe_7keV->GetYaxis()->SetLabelOffset(0.015);
   hNpe_7keV->GetYaxis()->SetTitleSize(0.05);
   hNpe_7keV->GetYaxis()->SetTitleOffset(1.1);
   hNpe_7keV->GetYaxis()->SetTitleFont(42);
   hNpe_7keV->GetZaxis()->SetLabelFont(42);
   hNpe_7keV->GetZaxis()->SetLabelOffset(0.015);
   hNpe_7keV->GetZaxis()->SetTitleSize(0.05);
   hNpe_7keV->GetZaxis()->SetTitleOffset(1.1);
   hNpe_7keV->GetZaxis()->SetTitleFont(42);
   hNpe_7keV->Draw("same");
   
   TH1F *hNpe_9keV = new TH1F("hNpe_9keV","hNpe_9keV",5000,0,5000);
   hNpe_9keV->SetBinContent(1,283);
   hNpe_9keV->SetBinContent(2,335);
   hNpe_9keV->SetBinContent(3,225);
   hNpe_9keV->SetBinContent(4,89);
   hNpe_9keV->SetBinContent(5,47);
   hNpe_9keV->SetBinContent(6,15);
   hNpe_9keV->SetBinContent(7,6);
   hNpe_9keV->SetEntries(1000);
   hNpe_9keV->SetLineColor(79);
   hNpe_9keV->SetLineWidth(2);
   hNpe_9keV->SetMarkerStyle(20);
   hNpe_9keV->SetMarkerSize(0.5);
   hNpe_9keV->GetXaxis()->SetNdivisions(506);
   hNpe_9keV->GetXaxis()->SetLabelFont(42);
   hNpe_9keV->GetXaxis()->SetLabelOffset(0.015);
   hNpe_9keV->GetXaxis()->SetTitleSize(0.05);
   hNpe_9keV->GetXaxis()->SetTitleFont(42);
   hNpe_9keV->GetYaxis()->SetNdivisions(506);
   hNpe_9keV->GetYaxis()->SetLabelFont(42);
   hNpe_9keV->GetYaxis()->SetLabelOffset(0.015);
   hNpe_9keV->GetYaxis()->SetTitleSize(0.05);
   hNpe_9keV->GetYaxis()->SetTitleOffset(1.1);
   hNpe_9keV->GetYaxis()->SetTitleFont(42);
   hNpe_9keV->GetZaxis()->SetLabelFont(42);
   hNpe_9keV->GetZaxis()->SetLabelOffset(0.015);
   hNpe_9keV->GetZaxis()->SetTitleSize(0.05);
   hNpe_9keV->GetZaxis()->SetTitleOffset(1.1);
   hNpe_9keV->GetZaxis()->SetTitleFont(42);
   hNpe_9keV->Draw("same");
   
   TH1F *hNpe_15keV = new TH1F("hNpe_15keV","hNpe_15keV",5000,0,5000);
   hNpe_15keV->SetBinContent(1,112);
   hNpe_15keV->SetBinContent(2,272);
   hNpe_15keV->SetBinContent(3,249);
   hNpe_15keV->SetBinContent(4,190);
   hNpe_15keV->SetBinContent(5,102);
   hNpe_15keV->SetBinContent(6,45);
   hNpe_15keV->SetBinContent(7,17);
   hNpe_15keV->SetBinContent(8,6);
   hNpe_15keV->SetBinContent(9,2);
   hNpe_15keV->SetBinContent(10,4);
   hNpe_15keV->SetBinContent(11,1);
   hNpe_15keV->SetEntries(1000);
   hNpe_15keV->SetLineColor(86);
   hNpe_15keV->SetLineWidth(2);
   hNpe_15keV->SetMarkerStyle(20);
   hNpe_15keV->SetMarkerSize(0.5);
   hNpe_15keV->GetXaxis()->SetNdivisions(506);
   hNpe_15keV->GetXaxis()->SetLabelFont(42);
   hNpe_15keV->GetXaxis()->SetLabelOffset(0.015);
   hNpe_15keV->GetXaxis()->SetTitleSize(0.05);
   hNpe_15keV->GetXaxis()->SetTitleFont(42);
   hNpe_15keV->GetYaxis()->SetNdivisions(506);
   hNpe_15keV->GetYaxis()->SetLabelFont(42);
   hNpe_15keV->GetYaxis()->SetLabelOffset(0.015);
   hNpe_15keV->GetYaxis()->SetTitleSize(0.05);
   hNpe_15keV->GetYaxis()->SetTitleOffset(1.1);
   hNpe_15keV->GetYaxis()->SetTitleFont(42);
   hNpe_15keV->GetZaxis()->SetLabelFont(42);
   hNpe_15keV->GetZaxis()->SetLabelOffset(0.015);
   hNpe_15keV->GetZaxis()->SetTitleSize(0.05);
   hNpe_15keV->GetZaxis()->SetTitleOffset(1.1);
   hNpe_15keV->GetZaxis()->SetTitleFont(42);
   hNpe_15keV->Draw("same");
   
   TH1F *hNpe_30keV = new TH1F("hNpe_30keV","hNpe_30keV",5000,0,5000);
   hNpe_30keV->SetBinContent(1,34);
   hNpe_30keV->SetBinContent(2,64);
   hNpe_30keV->SetBinContent(3,125);
   hNpe_30keV->SetBinContent(4,168);
   hNpe_30keV->SetBinContent(5,190);
   hNpe_30keV->SetBinContent(6,145);
   hNpe_30keV->SetBinContent(7,110);
   hNpe_30keV->SetBinContent(8,78);
   hNpe_30keV->SetBinContent(9,48);
   hNpe_30keV->SetBinContent(10,22);
   hNpe_30keV->SetBinContent(11,10);
   hNpe_30keV->SetBinContent(12,5);
   hNpe_30keV->SetBinContent(14,1);
   hNpe_30keV->SetEntries(1000);
   hNpe_30keV->SetLineColor(93);
   hNpe_30keV->SetLineWidth(2);
   hNpe_30keV->SetMarkerStyle(20);
   hNpe_30keV->SetMarkerSize(0.5);
   hNpe_30keV->GetXaxis()->SetNdivisions(506);
   hNpe_30keV->GetXaxis()->SetLabelFont(42);
   hNpe_30keV->GetXaxis()->SetLabelOffset(0.015);
   hNpe_30keV->GetXaxis()->SetTitleSize(0.05);
   hNpe_30keV->GetXaxis()->SetTitleFont(42);
   hNpe_30keV->GetYaxis()->SetNdivisions(506);
   hNpe_30keV->GetYaxis()->SetLabelFont(42);
   hNpe_30keV->GetYaxis()->SetLabelOffset(0.015);
   hNpe_30keV->GetYaxis()->SetTitleSize(0.05);
   hNpe_30keV->GetYaxis()->SetTitleOffset(1.1);
   hNpe_30keV->GetYaxis()->SetTitleFont(42);
   hNpe_30keV->GetZaxis()->SetLabelFont(42);
   hNpe_30keV->GetZaxis()->SetLabelOffset(0.015);
   hNpe_30keV->GetZaxis()->SetTitleSize(0.05);
   hNpe_30keV->GetZaxis()->SetTitleOffset(1.1);
   hNpe_30keV->GetZaxis()->SetTitleFont(42);
   hNpe_30keV->Draw("same");
   
   TH1F *hNpe_50keV = new TH1F("hNpe_50keV","hNpe_50keV",5000,0,5000);
   hNpe_50keV->SetBinContent(1,3);
   hNpe_50keV->SetBinContent(2,11);
   hNpe_50keV->SetBinContent(3,22);
   hNpe_50keV->SetBinContent(4,59);
   hNpe_50keV->SetBinContent(5,92);
   hNpe_50keV->SetBinContent(6,118);
   hNpe_50keV->SetBinContent(7,138);
   hNpe_50keV->SetBinContent(8,134);
   hNpe_50keV->SetBinContent(9,118);
   hNpe_50keV->SetBinContent(10,111);
   hNpe_50keV->SetBinContent(11,75);
   hNpe_50keV->SetBinContent(12,45);
   hNpe_50keV->SetBinContent(13,31);
   hNpe_50keV->SetBinContent(14,18);
   hNpe_50keV->SetBinContent(15,15);
   hNpe_50keV->SetBinContent(16,3);
   hNpe_50keV->SetBinContent(17,5);
   hNpe_50keV->SetBinContent(19,1);
   hNpe_50keV->SetBinContent(24,1);
   hNpe_50keV->SetEntries(1000);
   hNpe_50keV->SetLineColor(100);
   hNpe_50keV->SetLineWidth(2);
   hNpe_50keV->SetMarkerStyle(20);
   hNpe_50keV->SetMarkerSize(0.5);
   hNpe_50keV->GetXaxis()->SetNdivisions(506);
   hNpe_50keV->GetXaxis()->SetLabelFont(42);
   hNpe_50keV->GetXaxis()->SetLabelOffset(0.015);
   hNpe_50keV->GetXaxis()->SetTitleSize(0.05);
   hNpe_50keV->GetXaxis()->SetTitleFont(42);
   hNpe_50keV->GetYaxis()->SetNdivisions(506);
   hNpe_50keV->GetYaxis()->SetLabelFont(42);
   hNpe_50keV->GetYaxis()->SetLabelOffset(0.015);
   hNpe_50keV->GetYaxis()->SetTitleSize(0.05);
   hNpe_50keV->GetYaxis()->SetTitleOffset(1.1);
   hNpe_50keV->GetYaxis()->SetTitleFont(42);
   hNpe_50keV->GetZaxis()->SetLabelFont(42);
   hNpe_50keV->GetZaxis()->SetLabelOffset(0.015);
   hNpe_50keV->GetZaxis()->SetTitleSize(0.05);
   hNpe_50keV->GetZaxis()->SetTitleOffset(1.1);
   hNpe_50keV->GetZaxis()->SetTitleFont(42);
   hNpe_50keV->Draw("same");
   
   TLegend *leg = new TLegend(0.7,0.5,0.85,0.9,NULL,"brNDC");
   leg->SetBorderSize(0);
   leg->SetLineColor(1);
   leg->SetLineStyle(1);
   leg->SetLineWidth(2);
   leg->SetFillColor(10);
   leg->SetFillStyle(0);
   TLegendEntry *entry=leg->AddEntry("hNpe_1keV","#color[51]{1 keV}","l");
   entry->SetLineColor(51);
   entry->SetLineStyle(1);
   entry->SetLineWidth(2);
   entry->SetMarkerColor(1);
   entry->SetMarkerStyle(21);
   entry->SetMarkerSize(1);
   entry=leg->AddEntry("hNpe_3keV","#color[58]{3 keV}","l");
   entry->SetLineColor(58);
   entry->SetLineStyle(1);
   entry->SetLineWidth(2);
   entry->SetMarkerColor(1);
   entry->SetMarkerStyle(21);
   entry->SetMarkerSize(1);
   entry=leg->AddEntry("hNpe_5keV","#color[65]{5 keV}","l");
   entry->SetLineColor(65);
   entry->SetLineStyle(1);
   entry->SetLineWidth(2);
   entry->SetMarkerColor(1);
   entry->SetMarkerStyle(21);
   entry->SetMarkerSize(1);
   entry=leg->AddEntry("hNpe_7keV","#color[72]{7 keV}","l");
   entry->SetLineColor(72);
   entry->SetLineStyle(1);
   entry->SetLineWidth(2);
   entry->SetMarkerColor(1);
   entry->SetMarkerStyle(21);
   entry->SetMarkerSize(1);
   entry=leg->AddEntry("hNpe_9keV","#color[79]{9 keV}","l");
   entry->SetLineColor(79);
   entry->SetLineStyle(1);
   entry->SetLineWidth(2);
   entry->SetMarkerColor(1);
   entry->SetMarkerStyle(21);
   entry->SetMarkerSize(1);
   entry=leg->AddEntry("hNpe_15keV","#color[86]{15 keV}","l");
   entry->SetLineColor(86);
   entry->SetLineStyle(1);
   entry->SetLineWidth(2);
   entry->SetMarkerColor(1);
   entry->SetMarkerStyle(21);
   entry->SetMarkerSize(1);
   entry=leg->AddEntry("hNpe_30keV","#color[93]{30 keV}","l");
   entry->SetLineColor(93);
   entry->SetLineStyle(1);
   entry->SetLineWidth(2);
   entry->SetMarkerColor(1);
   entry->SetMarkerStyle(21);
   entry->SetMarkerSize(1);
   entry=leg->AddEntry("hNpe_50keV","#color[100]{50 keV}","l");
   entry->SetLineColor(100);
   entry->SetLineStyle(1);
   entry->SetLineWidth(2);
   entry->SetMarkerColor(1);
   entry->SetMarkerStyle(21);
   entry->SetMarkerSize(1);
   leg->Draw();
   
   TPaveText *pt = new TPaveText(0.01,0.9406446,0.328995,0.995,"blNDC");
   pt->SetName("title");
   pt->SetBorderSize(0);
   pt->SetFillColor(0);
   pt->SetLineWidth(2);
   TText *text = pt->AddText("Config:2  /  #alpha = 0.18");
   pt->Draw();
   c2->Modified();
   c2->cd();
   c2->SetSelected(c2);
}
